sub

pure function sub(start: integer): byte_array

Returns a sub-array of the byte_array from the specified start index.

Since

0.6.0

Parameters

start

The start index of the sub-array.


pure function sub(start: integer, end: integer): byte_array

Returns a sub-array of the byte_array from the specified start index to the end index.

Since

0.6.0

Parameters

start

The start index of the sub-array.

end

The end index of the sub-array.